package com.ym.medical.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * 编码生产对象 sys_code_rule
 *
 * @author ym
 * @date 2020-08-17
 */
@ApiModel(value = "编码生产-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SysCodeRuleQueryParam {

    @ApiModelProperty("规则名称")
    private String ruleName;

    @ApiModelProperty("规则编码")
    private String ruleCode;

    @ApiModelProperty("编码前缀")
    private String codePrefix;

    @ApiModelProperty("序列长度")
    private Integer serialLength;

    @ApiModelProperty("索引值")
    private Long serial;

    @ApiModelProperty("日期格式化")
    private String curFormatVal;

    @ApiModelProperty("日期格式化格式,如yyyyMM")
    private String format;

    @ApiModelProperty("格式类型,1日期+序列。2日期+时间戳+随机数")
    private String formatType;

    @ApiModelProperty("创建人")
    private Long creater;

    @ApiModelProperty("创建时间")
    private Date createtime;

    @ApiModelProperty("删除标志")
    private String deleted;

    @ApiModelProperty("ids")
    private Long[] ids;
}
